// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 获取菜单接口 POST /api/menus*/
export async function queryMenuData(options?: { [key: string]: any }) {
    return request<API.FetchMenuDataResult>('/api/menus', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: options
    });
  }